<?php
/*
 * FileName index.ctrl.php
 * Date		2012-7-25
 * Author	jime
 * Mail 	me@joyphper.net
 * QQ		97142822
 * Copyright (C) 2012 joyphper.net
 */
class TestService extends AppBaseService {
    function test($page) {
    	//$this->insert("db_message",array("title"=>"12","content"=>"12","dateline"=>time(),"aaa"=>time(),"bbb"=>time()));
    	//$this->delete("db_message","mid < 99");
    	//print_r($this->findBySql("select * from db_message"));
    	//$this->conn()->queryRes[]=false;
    	return $this->pagerBySql("select * from db_message",$page,2);
    }
}
?>